package com.shsubway.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import cn.bmob.v3.BmobObject;

/**
 * Created by Hu on 2017/2/27.
 */

public class QuestionEntity extends BmobObject implements Serializable{
    /**
     * 题干表
     * Id主键（每个题一个id）
     * 题干
     * 题型id
     * 难易程度 0 1 2
     */

    private String qstcontent;//题干
    private int qsttype;//题干的类型
    private int easyconhardtype;//难易程度
    private List<AnswerEntity> answerEntities=new ArrayList<>();

    public List<AnswerEntity> getAnswerEntities() {
        return answerEntities;
    }

    public void setAnswerEntities(List<AnswerEntity> answerEntities) {
        this.answerEntities = answerEntities;
    }

    public int getEasyconhardtype() {
        return easyconhardtype;
    }

    public void setEasyconhardtype(int easyconhardtype) {
        this.easyconhardtype = easyconhardtype;
    }

    public String getQstcontent() {
        return qstcontent;
    }

    public void setQstcontent(String qstcontent) {
        this.qstcontent = qstcontent;
    }

    public int getQsttype() {
        return qsttype;
    }

    public void setQsttype(int qsttype) {
        this.qsttype = qsttype;
    }

//    @Override
//    public String toString() {
//        return "QuestionEntity{" +
//                "qstcontent='" + qstcontent + '\'' +
//                ", qsttype=" + qsttype +
//                ", easyconhardtype=" + easyconhardtype +
//                ", answerEntities=" + answerEntities +
//                '}';
//    }
}
